package com.blackfish.server.job;

public class UdpConf {

    private static volatile UdpConf udpConf = null;
    private static boolean Conf = false;

    public String getServerip() {
        return serverip;
    }

    public void setServerip(String serverip) {
        this.serverip = serverip;
    }

    public String getFindcliip() {
        return findcliip;
    }

    public void setFindcliip(String findcliip) {
        this.findcliip = findcliip;
    }

    String serverip = "127.0.0.1";
    String findcliip = "192.168.123.229";


    public UdpConf(){

    }
    public static UdpConf getInstance(){
        synchronized (UdpConf.class) {
            if (udpConf == null) {
                udpConf = new UdpConf();
            }
        }
        return udpConf;
    }

    public static boolean getConf(){
        return Conf;
    }

    public static void setConf(boolean conf){
        Conf = conf;
    }




}
